﻿using System;
using System.Collections.Generic;

namespace Rj_GsInsurance.Server.DataBaseContext.Entities
{
    /// <summary>
    /// 门诊处方明细表
    /// </summary>
    public partial class MzysTbMzcfmx
    {
        /// <summary>
        ///  处方明细流水号
        /// </summary>
        public long Cfmxlsh { get; set; }
        /// <summary>
        /// 处方ID
        /// </summary>
        public long Cfmxid { get; set; }
        /// <summary>
        /// 就诊流水号
        /// </summary>
        public long Jzlsh { get; set; }
        /// <summary>
        /// 处方流水号
        /// </summary>
        public long Cflsh { get; set; }
        /// <summary>
        /// 处方ID
        /// </summary>
        public long? Cfid { get; set; }
        /// <summary>
        /// 挂号流水号
        /// </summary>
        public long Ghlsh { get; set; }
        /// <summary>
        /// 收费类型
        /// </summary>
        public short Sflx { get; set; }
        /// <summary>
        /// 项目序号
        /// </summary>
        public short? Xmxh { get; set; }
        /// <summary>
        /// 项目编码
        /// </summary>
        public int? Xmbm { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string? Xmmc { get; set; }
        /// <summary>
        /// 首次开方医生
        /// </summary>
        public short? Sckfys { get; set; }
        /// <summary>
        /// 首次开发日期
        /// </summary>
        public DateTime? Sckfsj { get; set; }
        /// <summary>
        /// 最后开方医生
        /// </summary>
        public short? Zhkfys { get; set; }
        /// <summary>
        /// 最后开方日期
        /// </summary>
        public DateTime? Zhkfsj { get; set; }
        /// <summary>
        /// 剂量
        /// </summary>
        public string? Jl { get; set; }
        /// <summary>
        /// 剂量单位
        /// </summary>
        public string? Jldw { get; set; }
        /// <summary>
        /// 用法
        /// </summary>
        public short? Yf { get; set; }
        /// <summary>
        /// 处方副数
        /// </summary>
        public short? Cffs { get; set; }
        /// <summary>
        /// 项目数量
        /// </summary>
        public decimal? Xmsl { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? Dw { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Gg { get; set; }
        /// <summary>
        /// 给药途径
        /// </summary>
        public short? Gytj { get; set; }
        /// <summary>
        /// 天数
        /// </summary>
        public short? Ts { get; set; }
        /// <summary>
        /// 执行科室
        /// </summary>
        public int? Zxks { get; set; }
        /// <summary>
        /// 使用时间
        /// </summary>
        public DateTime? Sysj { get; set; }
        /// <summary>
        /// 医生嘱托
        /// </summary>
        public string? Yszt { get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public decimal? Dj { get; set; }
        /// <summary>
        /// 处方金额
        /// </summary>
        public decimal? Cfje { get; set; }
        /// <summary>
        /// 门诊手术编码
        /// </summary>
        public int? Mzssbm { get; set; }
        /// <summary>
        /// 门诊收费部位
        /// </summary>
        public string? Mzssbw { get; set; }
        /// <summary>
        /// 检查部位编号
        /// </summary>
        public int? Jcbwbh { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public short? Zt { get; set; }
        /// <summary>
        /// 门诊单位数量
        /// </summary>
        public short? Mzdwsl { get; set; }
        /// <summary>
        /// 检查单位
        /// </summary>
        public string? Jcdw { get; set; }
        /// <summary>
        /// 单位编码
        /// </summary>
        public short? Dwbm { get; set; }
        /// <summary>
        /// 特殊用法
        /// </summary>
        public string? Tsyf { get; set; }
        /// <summary>
        /// 组号
        /// </summary>
        public int? Zh { get; set; }
        /// <summary>
        /// 化验报告
        /// </summary>
        public string? Hybb { get; set; }
        /// <summary>
        /// 则扣率
        /// </summary>
        public int? Zkl { get; set; }
        /// <summary>
        /// 换方标记
        /// </summary>
        public int? Hfbj { get; set; }
        /// <summary>
        /// 套餐标记
        /// </summary>
        public int? Tcbj { get; set; }
        /// <summary>
        /// 套餐明细流水号
        /// </summary>
        public int? Tcmxlsh { get; set; }
        /// <summary>
        /// 时间戳
        /// </summary>
        public byte[] Sjc { get; set; } = null!;
        /// <summary>
        /// 申请单
        /// </summary>
        public string? Sqd { get; set; }
        /// <summary>
        /// 检查流水号
        /// </summary>
        public string? Jclsh { get; set; }
        /// <summary>
        /// 套餐id
        /// </summary>
        public int? Tcid { get; set; }
        /// <summary>
        /// 处方状态
        /// </summary>
        public string? Cfzt { get; set; }
        /// <summary>
        /// 处方状态
        /// </summary>
        public int? Pytjbm { get; set; }
        /// <summary>
        /// 化验分类名称
        /// </summary>
        public string? Flmc { get; set; }
        /// <summary>
        /// 抗生素
        /// </summary>
        public int? Exa { get; set; }
        /// <summary>
        /// 收费状态
        /// </summary>
        public int? Syzt { get; set; }
        /// <summary>
        /// 医院编码
        /// </summary>
        public int? HospitalCode { get; set; }
        /// <summary>
        /// 预存流水号
        /// </summary>
        public long? PreSaveNo { get; set; }
        /// <summary>
        /// 处方类型
        /// </summary>
        public int? Cflx { get; set; }
        /// <summary>
        /// 检查明细流水号
        /// </summary>
        public int? Jcmxlsh { get; set; }
        /// <summary>
        /// 检查明细项目流水号
        /// </summary>
        public int? Jcmxxmlsh { get; set; }
        /// <summary>
        /// 申请单标记
        /// </summary>
        public int? Sqdbj { get; set; }
        /// <summary>
        /// 申请单组号
        /// </summary>
        public int? Sqdzh { get; set; }
        /// <summary>
        /// 草药处方配伍标识
        /// </summary>
        public string? CompatibleType { get; set; }
        public int? IsOtherHospital { get; set; }
        public int? ItemHospitalCode { get; set; }
        public int? GlobalId { get; set; }
        public int? ExeHospitalId { get; set; }
        public long? SkinTestRecpId { get; set; }
        public long? SkinTestId { get; set; }
        public string? SkinTestType { get; set; }
        public string? SqdId { get; set; }
        public int? DripRate { get; set; }
        public int? Course { get; set; }
        public string? CourseUnit { get; set; }
        public string? CommonName { get; set; }
        public string? DoseRatio { get; set; }
        public string? OtherContent { get; set; }
        public int? Scbj { get; set; }
        /// <summary>
        /// 引用处方明细ID 
        /// </summary>
        public long? QuoteDetailId { get; set; }
        /// <summary>
        /// 包装因子 
        /// </summary>
        public int? PackFactor { get; set; }
        public string? Paytype { get; set; }
        public bool? ApplyReliefFlag { get; set; }
        /// <summary>
        /// 用量单位 
        /// </summary>
        public string? DoseRatioUnit { get; set; }
        /// <summary>
        /// 附加执行科室
        /// </summary>
        public int? AdditionalExecDept { get; set; }
    }
}
